﻿using Max.PH5_2004A.Shopping.Domain;
using Max.PH5_2004A.Shopping.IRespository;
using Max.PH5_2004A.Shopping.IService;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Max.PH5_2004A.Shopping.Service
{
    public class MemberService : BaseService<MemberModel>, IMemberService
    {
        IMemberRespository _respository;
        public MemberService(IMemberRespository respository) : 
            base(respository)
        {
            _respository = respository;
        }

        public int Login(MemberModel model)
        {
            int result = _respository.Login(model);
            return result;
        }
    }
}
